package feign.okhttp.learn.feign.fallback;

import org.springframework.stereotype.Component;

import feign.okhttp.learn.feign.Feign404Service;
import lombok.extern.slf4j.Slf4j;

@Component
@Slf4j
public class Feign404ServiceFallback implements Feign404Service {

    @Override
    public String searchRepo(String queryStr) {
        System.out.println("fallback.....");
        return "fallback";
    }

}
